/**
 ******************************************************************************
 * @file           : bsp_24cxx.h
 * @brief          : 24CXX EEPROM Driver Header (STM32F4xx)
 ******************************************************************************
 */

#ifndef __BSP_24CXX_H
#define __BSP_24CXX_H

#include <stdint.h>
#include "./Devices/24CXX/bsp_24cxx_config.h"

uint8_t eeprom_init(void);
void eeprom_deinit(void);
uint8_t eeprom_read(uint16_t addr, uint8_t *buf, uint16_t len);
uint8_t eeprom_write(uint16_t addr, const uint8_t *buf, uint16_t len);
uint8_t eeprom_check(void);

#endif
